package com.geccocrawler.gecco.demo.heilongjiang;

import com.geccocrawler.gecco.annotation.HtmlField;
import com.geccocrawler.gecco.annotation.Text;
import com.geccocrawler.gecco.spider.HtmlBean;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: weixiaohu
 * Date: 2019/6/6
 * Time: 15:24
 */
@Getter
@Setter
@ToString
public class Item implements HtmlBean {
    @Text
    @HtmlField(cssPath="td:nth-child(1)")
    private String code;
    @Text
    @HtmlField(cssPath="td:nth-child(2)")
    private String name;
    @Text
    @HtmlField(cssPath="td:nth-child(3)")
    private String address;
}
